package com.weichen.studentgameexchange.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 功能：
 * 作者：惟尘
 * 日期：2025/1/25 20:32
 */
@Getter
public enum CommentStatus {
    UNAUDITED(0, "未审核"),
    PASS(1, "审核通过"),
    NOPASS(2, "审核未通过"),
    CREATE(3, "已发表"),
    DELETED(4, "删除");
    @EnumValue
    private final int value;
    @JsonValue
    private final String desc;

    CommentStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
